package com.demo.service;

import com.demo.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Admin
 * Date: 2023-02-11
 * Time: 16:15
 */
@Service
public class UserService {

    @Autowired
    private UserRepository userRepository;

    public void doUserService() {
        System.out.println("do UserService !");
        userRepository.user();
    }
}
